package com.google.demo.model;

import com.google.demo.Data.Controler.IServerService.Methods;

public class MethodParams {
	private Methods mMethod;
	private int mSize;
	private int mPage;
	private boolean mOnly4Cache = false;
	private Object mInputData;
	
	public Object getInputData()
    {
    	return mInputData;
    }

	public void setInputData(Object inputData)
    {
    	mInputData = inputData;
    }

	public boolean isOnly4Cache() {
		return mOnly4Cache;
	}

	public void setOnly4Cache(boolean only4Cache) {
		this.mOnly4Cache = only4Cache;
	}

	public MethodParams(Methods method, int page, int size){
		this.mMethod = method;
		this.mSize = size;
		this.mPage = page;
	}
	
	public MethodParams(Methods method, int page, int size, Object inputData){
		this.mMethod = method;
		this.mSize = size;
		this.mPage = page;
		this.mInputData = inputData;
	}

	
	public Methods getMethod() {
		return mMethod;
	}

	public void setMethod(Methods method) {
		this.mMethod = method;
	}

	public int getSize() {
		return mSize;
	}

	public void setSize(int size) {
		this.mSize = size;
	}

	public int getPage() {
		return mPage;
	}

	public void setPage(int page) {
		this.mPage = page;
	}

}
